﻿using System;

namespace Mines.Ajax
{
    public class AjaxTypeNullException : Exception
    {
        private string TypeName { get; set; }

        public override string Message { get { return TypeName + " Is Null"; } }

        public AjaxTypeNullException(string typename)
        {
            TypeName = typename;
        }

        public AjaxTypeNullException()
        {
            TypeName = "Type";
        }
    }
}
